<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title>登录若依系统</title>
    <meta name="description" content="若依后台管理框架">
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
    <link href="../static/css/login.min.css" th:href="@{/css/login.min.css}" rel="stylesheet"/>
    <link href="../static/ruoyi/css/ry-ui.css" th:href="@{/ruoyi/css/ry-ui.css?v=4.7.3}" rel="stylesheet"/>
    <!-- 360浏览器急速模式 -->
    <meta name="renderer" content="webkit">
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="shortcut icon" href="../static/favicon.ico" th:href="@{favicon.ico}"/>
    <style type="text/css">
        label.error { position:inherit;  }
        .blockUI.blockOverlay {
            top: 0px!important;
        }
    </style>
    <script>
     //   if(window.top!==window.self){alert('未登录或登录超时。请重新登录');window.top.location=window.location};
        var currentLogin = '1';
        function checkLogin(type){
             $("[name='loginName']").hide()
             $("#login"+type).show();
             currentLogin = type;
        }
    </script>
</head>
<body class="signin">
<ul class="login-tab">
    <li><a onclick="checkLogin(1)" class="login-tab-link">登录页一</a> </li>
    <li><a onclick="checkLogin(2)" class="login-tab-link">登录页二</a> </li>
    <li><a onclick="checkLogin(3)" class="login-tab-link">登录页三</a> </li>
</ul>
<div id="login1" class="wrapper-loginbox" name="loginName" >
    <div class="login-wrapper">
        <div class="signinpanel">
            <img class="logo-img" alt="[ 若依 ]" src="../static/ruoyi.png" th:src="@{/ruoyi.png}">
            <form id="signupForm" autocomplete="off">
                <h4 class="login-title" >用户登录</h4>
                <p  class="login-text">你若不离不弃，我必生死相依</p>
                <span class="login-form-titile">用户</span>
                <input type="text"  name="username" class="form-control uname"     placeholder="用户名" value="admin"    />
                <span class="login-form-titile">密码</span>
                <input type="password" name="password" class="form-control pword"     placeholder="密码"   value="admin123" />
                <span class="login-form-titile">验证码</span>
                <div class="login-code" th:if="${captchaEnabled==true}">
                    <input type="text" name="validateCode" class="form-control code" placeholder="验证码" maxlength="5" />
                    <a href="javascript:void(0);" title="点击更换验证码">
                        <img th:src="@{/captcha/captchaImage(type=${captchaType})}" class="imgcode"/>
                    </a>
                </div>
                <div class="checkbox-custom" th:if="${isRemembered}" th:classappend="${captchaEnabled==false} ? 'm-t'">
                    <input type="checkbox" id="rememberme" name="rememberme"> <label for="rememberme">记住我</label>
                </div>
                <button class="btn btn-primary btn-block btn-lg" id="btnSubmit" data-loading="正在验证登录，请稍候...">登录</button>
            </form>

        </div>
        <div class="side-box">
            <h4 class="side-text">欢迎使用-若依后台管理系统</h4>
            <ul class="side-item">
                <li><i class="fa fa-long-arrow-right"></i> SpringBoot</li>
                <li><i class="fa fa-long-arrow-right"></i> Mybatis</li>
                <li><i class="fa fa-long-arrow-right"></i> Shiro</li>
                <li><i class="fa fa-long-arrow-right"></i> Thymeleaf</li>
                <li><i class="fa fa-long-arrow-right"></i> Bootstrap</li>
            </ul>
        </div>

    </div>
    <div class="signup-footer">
        Copyright © 2018-2022 ruoyi.vip All Rights Reserved.
    </div>
</div>
<div id="login2" class="wrapper-loginbox" name="loginName" style="display:none">
    <div class="login-wrapper02">
        <div class="leftside-box">
            <h4 class="side-text">欢迎使用-若依后台管理系统</h4>
            <ul class="side-item">
                <li><i class="fa fa-long-arrow-right"></i> SpringBoot</li>
                <li><i class="fa fa-long-arrow-right"></i> Mybatis</li>
                <li><i class="fa fa-long-arrow-right"></i> Shiro</li>
                <li><i class="fa fa-long-arrow-right"></i> Thymeleaf</li>
                <li><i class="fa fa-long-arrow-right"></i> Bootstrap</li>
            </ul>
            <div class="more-btn-box">
                <a href="#" class="more-btn">了解更多</a>
            </div>

        </div>
        <div class="signinpanel">

            <form id="signupForm2" autocomplete="off">
                <img class="logo-img02" alt="[ 若依 ]" src="../static/ruoyi.png" th:src="@{/ruoyi.png}">
                <h4 class="login-title" >用户登录2</h4>
                <p  class="login-text">你若不离不弃，我必生死相依</p>
                <input type="text"  name="username2" class="form-control uname" placeholder="请输入用户名" value="admin"    />
                <input type="password" name="password2" class="form-control pword" placeholder="请输入密码"   value="admin123" />
                <div class="login-code" th:if="${captchaEnabled==true}">
                    <input type="text" name="validateCode2" class="form-control code" placeholder="验证码" maxlength="5" />
                    <a href="javascript:void(0);" title="点击更换验证码">
                        <img th:src="@{/captcha/captchaImage(type=${captchaType})}" class="imgcode2"/>
                    </a>
                </div>
                <div class="checkbox-custom" th:if="${isRemembered}" th:classappend="${captchaEnabled==false} ? 'm-t'">
                    <input type="checkbox" id="rememberme2" name="rememberme2"> <label for="rememberme">记住我</label>
                </div>
                <button class="btn btn-primary btn-block btn-lg" id="btnSubmit2" data-loading="正在验证登录，请稍候...">登 录</button>
            </form>

        </div>


    </div>
    <div class="signup-footer02">
        Copyright © 2018-2022 ruoyi.vip All Rights Reserved.
    </div>
</div>
<div id="login3" class="wrapper-loginbox" name="loginName"  style="display:none">
    <div class="login-wrapper03">
        <div class="logo-text"><img alt="[ 若依 ]" src="../img/ruoyi-white.png" >欢迎使用-若依后台管理系统</div>
        <div class="signinpanel clearfix">
            <form id="signupForm3" autocomplete="off">
                <h4 class="login-title" >用户登录</h4>
                <input type="text"  name="username3" class="form-control uname"     placeholder="请输入用户名" value="admin"    />
                <input type="password" name="password3" class="form-control pword"     placeholder="请输入密码"   value="admin123" />
                <div class="login-code" th:if="${captchaEnabled==true}">
                    <input type="text" name="validateCode3" class="form-control code" placeholder="验证码" maxlength="5" />
                    <a href="javascript:void(0);" title="点击更换验证码">
                        <img th:src="@{/captcha/captchaImage(type=${captchaType})}" class="imgcode3"/>
                    </a>
                </div>
                <div class="checkbox-custom" th:if="${isRemembered}" th:classappend="${captchaEnabled==false} ? 'm-t'">
                    <input type="checkbox" id="rememberme3" name="rememberme3"> <label for="rememberme">记住我</label>
                </div>
                <button class="btn btn-primary btn-block btn-lg" id="btnSubmit3" data-loading="正在验证登录，请稍候...">登 录</button>
            </form>
            <div class="login-pic03"><img src="../img/login-pic03.png"></div>
        </div>
    </div>
    <div class="signup-footer03">
        Copyright © 2018-2022 ruoyi.vip All Rights Reserved.
    </div>
</div>
<script th:inline="javascript"> var ctx = [[@{/}]]; var captchaType = [[${captchaType}]]; </script>
<!--[if lte IE 8]><script>window.location.href=ctx+'html/ie.html';</script><![endif]-->
<!-- 全局js -->
<script src="../static/js/jquery.min.js" th:src="@{/js/jquery.min.js}"></script>
<script src="../static/ajax/libs/validate/jquery.validate.min.js" th:src="@{/ajax/libs/validate/jquery.validate.min.js}"></script>
<script src="../static/ajax/libs/layer/layer.min.js" th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script src="../static/ajax/libs/blockUI/jquery.blockUI.js" th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
<script src="../static/ruoyi/js/ry-ui.js" th:src="@{/ruoyi/js/ry-ui.js?v=4.7.3}"></script>
<script src="../static/ruoyi/login.js" th:src="@{/ruoyi/login.js}"></script>
<script src="../static/ruoyi/login2.js" th:src="@{/ruoyi/login2.js}"></script>
<script src="../static/ruoyi/login3.js" th:src="@{/ruoyi/login3.js}"></script>
</body>
</html>
